<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/webpage/include/taglib.jsp"%>
<%@ include file="/webpage/include/weChatHead.jsp"%>
<html>
<head>
<title>项目列表</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
<link href="${ctxStatic}/plugin/jquery-weui/lib/weui.min.css" type="text/css" rel="stylesheet" />
<link href="${ctxStatic}/plugin/jquery-weui/lib/weui.css" type="text/css" rel="stylesheet" />
<link href="${ctxStatic}/plugin/jquery-weui/css/jquery-weui.css" type="text/css" rel="stylesheet" />
<link href="${ctxStatic}/common/css/style.css" type="text/css" rel="stylesheet" />
<script type="text/javascript">
	$(document).ready(function() {
	});
	var validateForm;
	function doSubmit() {//回调函数，在编辑和保存动作时，供openDialog调用提交表单。
		if (validateForm.form()) {
			$("#searchForm").submit();
			return true;
		}

		return false;
	}
	
</script>

</head>
<body>
	<div style="margin-top: 10px">
		<sys:message content="${message}" />

		<!--查询条件-->

		<form:form id="searchForm" modelAttribute="projectInfo"
			action="${ctx}/project/projectInfo/weChatList" method="post"
			class="form-horizontal">
			<table class=" table-condensed dataTables-example dataTable no-footer">
				<label style="font-size:16px">项目名称：</label>
				<tbody>
					<tr>
						<td class="width-50">
						<form:input path="projectName"
								htmlEscape="false" maxlength="100"
								class=" form-control input-sm " /></td>
						<td class="width-10 pull-right">
						<button  class="weui_btn weui_btn_mini weui_btn_primary" style="margin-left:15px" onclick="search()" ><i class="fa fa-search"></i> 查询</button>
						</td>
					</tr>
				</tbody>
			</table>
		</form:form>
		<div id="listView" class="weui_cells weui_cells_access">
			<c:forEach items="${list}" var="projectInfo">
				<a  class="weui_cell" href="${ctx}/project/dynamic/projectDynamic/weChatDetail?id=${projectInfo.id}">
					<div class="weui_cell_bd weui_cell_primary">
						<p>${projectInfo.projectName}</p>
					</div>
					<div class="weui_cell_ft"></div>
				</a>
			</c:forEach>
		</div>

	</div>
	<!-- body 最后 -->
	<script src="${ctxStatic}/plugin/jquery-weui/js/jquery-weui.js"
		type="text/javascript"></script>
	<script src="${ctxStatic}/plugin/jquery-weui/js/jquery-weui.min.js"
		type="text/javascript"></script>

	<!-- 如果使用了某些拓展插件还需要额外的JS -->
	<script src="${ctxStatic}/plugin/jquery-weui/js/swiper.min.js"
		type="text/javascript"></script>
	<script src="${ctxStatic}/plugin/jquery-weui/js/city-picker.min.js"
		type="text/javascript"></script>
</body>
</html>